package com.assistant.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;

/*
*
* 发布代拿快递的实体类
* */
@Data
@Table(name = "address_item")
public class ItemsPost {

@Id
@KeySql(useGeneratedKeys = true)
    private Long items_id;         //主键
    private String items_name;
    private String price;
    private String new_old;       //几成新
    private String post_time;          //发布时间  定；
    private String update_time;      //修改时间  定；
    private String message;         //描述
    private String poster_id;   //用openid确认发布者
    private Integer status;      //1:上架 0：下架
    private String img;
    private Integer kind;
    private Long address_id;
    private String wxnum;
    private String address_tel;
    private String name;
}
